<template>
	<view class="out">
		<view class="item" v-for="item in goods"></view>
			<checkbox></checkbox>
			<text class="title">小米</text>
			<text class="del">删除</text>
	</view>
</template>

<script setup>
import {ref} from "vue"
const goods = ref([
	{id:11,name:"小米"},
	{id:22,name:"华为"},
	{id:33,name:"oppo"},
	{id:44,name:"苹果"},
])
	
</script>

<style lang="scss" scoped>
.out{
	padding: 10px;
	.item{
		padding: 10px 0;
		.del{
			color: #c00;
			margin-left: 30px;
		}
	}
	
}
</style>
